@import 'antd/lib/style/themes/default.less';
.container {
  position: relative;

  display: inline-block;

  width: 100%;
  &.disabled {
    .unit {
      color: @text-color-secondary;
      background-color: @disabled-bg;
    }
  }
}
.input {
  position: relative;
  z-index: 1;

  width: 100%;
}
.unit {
  font-size: @font-size-base;

  position: absolute;
  z-index: 2;
  top: 1px;
  right: 1px;
  bottom: 1px;

  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: flex-end;

  padding: 0 8px;

  color: @heading-color;
  border-radius: @border-radius-base;
  background-color: #fff;
}
